<div class="container">
    <div class="row">
        <div class="col-sm-6">
            <h2>Panel dodawania konta</h2>

            <?php $form = $this->beginWidget('CActiveForm', array('id' => 'register-client-form')); ?>
            <div class="form-group">
                <?php echo $form->labelEx($model, 'name'); ?>
                <?php echo $form->textField($model, 'name', array('class' => 'form-control')) ?>
                <?php echo $form->error($model, 'name') ?>
            </div>
            <div class="form-group">
                <?php echo $form->labelEx($model, 'const_pay'); ?>
                <?php echo $form->textField($model, 'const_pay', array('class' => 'form-control')) ?>
                <?php echo $form->error($model, 'const_pay') ?>
            </div>
                <div class="form-group">
                    <?php echo $form->labelEx($model, 'start_pay'); ?>
                    <?php echo $form->textField($model, 'start_pay', array('class' => 'form-control')) ?>
                    <?php echo $form->error($model, 'start_pay') ?>
                </div>
                <div class="form-group">
                    <?php echo $form->labelEx($model, 'card_pay'); ?>
                    <?php echo $form->textField($model, 'card_pay', array('class' => 'form-control')) ?>
                    <?php echo $form->error($model, 'card_pay') ?>
                </div>
            <div class="form-group">
                <?php echo $form->labelEx($model, 'in_pay'); ?>
                <?php echo $form->textField($model, 'in_pay', array('class' => 'form-control')) ?>
                <?php echo $form->error($model, 'in_pay') ?>
            </div>
            <div class="form-group">
                <?php echo $form->labelEx($model, 'out_pay'); ?>
                <?php echo $form->textField($model, 'out_pay', array('class' => 'form-control')) ?>
                <?php echo $form->error($model, 'out_pay') ?>
            </div>
            <div class="form-group">
                <?php echo $form->labelEx($model, 'max_limit'); ?>
                <?php echo $form->textField($model, 'max_limit', array('class' => 'form-control')) ?>
                <?php echo $form->error($model, 'max_limit') ?>
            </div>
            <?php echo CHtml::submitButton('Utwórz konto', array('class' => 'btn btn-success')); ?>
            <?php $this->endWidget(); ?>
        </div>
    </div>
</div>

